package com.pattern.design.architect.mvp;

import javax.swing.*;

/**
 * @author LIN
 * @date 2023-02-14 21:38
 */
public class ConcreteWindowedView implements Viewable {
    private ConcreteView contentView;
    private JFrame frame;

    public ConcreteWindowedView() {
        frame = new JFrame();
        contentView = new ConcreteView(frame.getContentPane());
    }

    @Override
    public void view() {
        contentView.view();
    }

    public void addWindowListerner() {

    }
}
